testo case for stack filter
authorparkrrrr <parkrrrr@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Thu, 16 Sep 2004 20:15:28 +0000 (20:15 +0000)
committerparkrrrr <parkrrrr@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Thu, 16 Sep 2004 20:15:28 +0000 (20:15 +0000)
gpsbabel/testo

index 1ca9290e60d877ee491988b7e94300c8e909f515..a3b52551f2c2a00b0f88df241dccc524d8f68602 100755 (executable)
@@ -583,5 +583,15 @@ compare ${TMPDIR}/hsandv.exp reference
 ${PNAME} -i hsandv -f reference/Glad_4.exp -o hsandv -F ${TMPDIR}/Glad_5.exp
 compare ${TMPDIR}/Glad_5.exp reference
 
+#
+# stack filter tests
+# These don't actually test for proper behavior, for now, but they do 
+# exercise all of the currently-extant filter code except for the "clean
+# up leftover stacks" code that would output a warning.  Of course, that 
+# code is the most likely to generate memory leaks, so maybe we need a 
+# 'nowarn' option to the stack filter so we can test it...
+#
+
+${PNAME} -i geo -f geocaching.loc -x stack,push,copy -x stack,push,copy -x stack,push -x stack,pop,replace -x stack,pop,append -x stack,push,copy -x stack,pop,discard -x stack,swap,depth=1 -x stack,pop -o arc -F ${TMPDIR}/stackfilt.txt
 
 exit 0